
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #68bb59;
    --text-color: #333;
    --light-color: #ecf0f1;
    --dark-color: #1f2836;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Top Header */
.top-header {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-header a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-header a:hover {
    color: var(--secondary-color);
}

/* Logo */
.logo-container {
padding: 15px 0;
background-color: white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
text-align: center; /* Added for extra centering */
}

.logo-img {
max-height: 150px;
width: auto;
margin: 0 auto; /* Centers the image horizontally */
display: block; /* Needed for margin auto to work */
}

.logo-text, .logo-text-hindi {
text-align: center; /* Ensure text is centered */
width: 100%; /* Full width for proper centering */
}



/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar-nav {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 15px;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Placement Banner */
.placement-banner {
    background-image: url('../image/pharma word.jpg');
    background-size: cover;
    height: 600px;
    display: flex;
    align-items: center;
    margin-top: 90px;
    position: relative;
}
.placement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.placement-content {
    position: relative;
    color: white;
    text-align: center;
    width: 100%;
}
.placement-content h3 {
    font-size: 3.5rem;
    color: #ffc600;
}

/* Department Content */
.department-content {
    background-color: #f7f7f7;
    padding: 60px 0;
    border: 2px solid #0369A0;
    border-radius: 10px;
}
.sidebar {
    background-color: white;
    border: 2px solid #0369A0;
    border-radius: 10px;
    padding: 20px;
}
.sidebar-item {
    padding: 15px;
    font-size: 1.2rem;
    border-bottom: 1px solid #0369A0;
    transition: all 0.3s ease;
}
.sidebar-item:hover {
    background-color: #0369A0;
    color: white;
}
.sidebar-item i {
    margin-right: 10px;
}

/* Enhanced Gallery Styles */
.gallery-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.gallery-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.gallery-header h2 {
    color: #0369A0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.gallery-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffc600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 105, 160, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    color: white;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-card:hover .zoom-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Enhanced Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.2rem;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-lightbox:hover {
    color: #ffc600;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffc600;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}
.footer h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}
.footer a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}
.social-icons {
    list-style: none;
    padding: 0;
    display: flex;
}
.social-icons li {
    margin-right: 10px;
}
.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    color: white;
}
.social-icons a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
}
.contact-info i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: var(--accent-color);
}
.contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.newsletter input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}
.newsletter button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: gold;
    border-radius: 4px;
}
/* Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}
.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Responsive Adjustments */
@media (max-width: 992px) {
    .logo-text {
        font-size: 1.5rem;
    }
    .logo-text-hindi {
        font-size: 1.5rem;
    }
    .placement-content h3 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .logo-container {
        text-align: center;
    }
    .logo-img {
        margin: 0 auto 15px;
    }
    .placement-banner {
        height: 300px;
        margin-top: 70px;
    }
    .sidebar {
        margin-bottom: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .close-lightbox {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
    
    .lightbox-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.2rem;
    }
    .logo-text-hindi {
        font-size: 1.2rem;
    }
    .placement-banner {
        height: 250px;
        margin-top: 60px;
    }
    .placement-content h3 {
        font-size: 2rem;
    }
    .footer {
        padding: 40px 0 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-header h2 {
        font-size: 1.5rem;
    }
}
    
@media (max-width: 768px) {
.logo-img {
max-height: 120px; /* Slightly smaller on mobile */
margin-bottom: 15px;
}

.logo-text {
font-size: 1.3rem; /* Adjusted for mobile */
}

.logo-text-hindi {
font-size: 1.1rem; /* Adjusted for mobile */
}
}
